]> git.pld-linux.org Git - packages/libsigc++3.git/blame - libsigc++3.spec
- updated to 3.0.2
[packages/libsigc++3.git] / libsigc++3.spec
CommitLineData
8df5f89a 1#
d1d622ab 2# Conditional build:
8dcfc624 3%bcond_without static_libs # don't build static library
db10935c 4%bcond_without tests # check target
d1d622ab 5#
5133f76b 6Summary: The Typesafe Signal Framework for C++
635b8004 7Summary(pl.UTF-8): Środowisko sygnałów z kontrolą typów dla C++
ab0420db 8Name: libsigc++3
b876030a 9Version: 3.0.2
1e5c6e05 10Release: 1
c27f8333 11Epoch: 1
3c2e80c3 12License: LGPL v2.1+
5133f76b 13Group: Libraries
ab0420db 14Source0: http://ftp.gnome.org/pub/GNOME/sources/libsigc++/3.0/libsigc++-%{version}.tar.xz
b876030a 15# Source0-md5: 1f93f8ed4ead38e876157834b2c57c21
13e32c2e 16URL: https://libsigcplusplus.github.io/libsigcplusplus/
3e00d680 17BuildRequires: autoconf >= 2.59
f3a3158c 18BuildRequires: automake >= 1:1.9
ab0420db 19BuildRequires: libstdc++-devel >= 6:7
1c773249 20BuildRequires: libtool >= 2:2.0
0764e6a0 21BuildRequires: m4
ab0420db 22BuildRequires: mm-common >= 0.9.12
b02845a0 23BuildRequires: perl-base
d33e9e7d 24BuildRequires: pkgconfig
6e5cfdbe
JB
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
d0f81991 27Obsoletes: libsigc++-examples
8deca2bf 28Conflicts: libsigc++ < 1.1.0
b02845a0 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
c014a68e 30
31%description
ae7d4fa5 32This library implements a full callback system for use in widget
33libraries, abstract interfaces, and general programming. Originally
a4ed2849 34part of the Gtk-- widget set, libsigc++ is now a seperate library to
ae7d4fa5 35provide for more general use. It is the most complete library of its
36kind with the ablity to connect an abstract callback to a class
37method, function, or function object. It contains adaptor classes for
38connection of dissimilar callbacks and has an ease of use unmatched by
39other C++ callback libraries.
c014a68e 40
e1f1abbc
JR
41%description -l pl.UTF-8
42Ta biblioteka jest implementacją pełnego systemu callbacków do
43używania w bibliotekach widgetów, interfejsach abstrakcyjnych i
44ogólnym programowaniu. Oryginalnie była to część zestawu widgetów
45Gtk--, ale jest teraz oddzielną biblioteką ogólniejszego
46przeznaczenia. Jest to kompletna biblioteka tego typu z możliwością
47łączenia abstrakcyjnych callbacków z metodami klas, funkcjami lub
48obiektami funkcji. Zawiera klasy adapterów do łączenia różnych
49callbacków.
45bd5da5 50
c014a68e 51%package devel
45bd5da5 52Summary: Development tools for the Typesafe Signal Framework for C++
635b8004 53Summary(pl.UTF-8): Narzędzia programistyczne do środowiska libsig++
5133f76b 54Group: Development/Libraries
b02845a0 55Requires: %{name} = %{epoch}:%{version}-%{release}
ab0420db 56Requires: libstdc++-devel >= 6:7
8deca2bf 57Requires: m4
c014a68e 58
59%description devel
5133f76b 60Development tools for the Typesafe Signal Framework for C++.
c014a68e 61
e1f1abbc
JR
62%description devel -l pl.UTF-8
63Narzędzia programistyczne do środowiska libsigc++ - sygnałów z
64kontrolą typów.
45bd5da5 65
5133f76b 66%package static
67Summary: Static Typesafe Signal Framework for C++ libraries
635b8004 68Summary(pl.UTF-8): Statyczna biblioteka libsigc++
5133f76b 69Group: Development/Libraries
b02845a0 70Requires: %{name}-devel = %{epoch}:%{version}-%{release}
c014a68e 71
5133f76b 72%description static
73Static Typesafe Signal Framework for C++ libraries.
c014a68e 74
e1f1abbc
JR
75%description static -l pl.UTF-8
76Statyczna biblioteka libsigc++ - środowiska sygnałów z kontrolą typów.
45bd5da5 77
a5958e16
JB
78%package doc
79Summary: Reference documentation for libsigc++
80Summary(pl.UTF-8): Szczegółowa dokumentacja dla libsigc++
81Group: Documentation
82
83%description doc
84Reference documentation for libsigc++.
85
86%description doc -l pl.UTF-8
87Szczegółowa dokumentacja dla libsigc++.
88
c014a68e 89%prep
ab0420db 90%setup -q -n libsigc++-%{version}
c014a68e 91
92%build
a09c286c 93%{__libtoolize}
f3a3158c 94%{__aclocal} -I build
d91e70f5 95%{__autoconf}
96%{__automake}
57120020 97%configure \
db10935c 98 --disable-silent-rules \
f3a3158c 99 %{?with_static_libs:--enable-static}
db10935c
JB
100%{__make}
101
102%if %{with tests}
103%{__make} check
104%endif
c014a68e 105
106%install
107rm -rf $RPM_BUILD_ROOT
0764e6a0 108
bc7295d0 109%{__make} install \
f864fec3 110 DESTDIR=$RPM_BUILD_ROOT
5133f76b 111
ab0420db
JB
112# obsoleted by pkg-config
113%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsigc-3.0.la
114
c014a68e 115%clean
116rm -rf $RPM_BUILD_ROOT
117
45bd5da5
JB
118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
120
c014a68e 121%files
5133f76b 122%defattr(644,root,root,755)
ab0420db
JB
123%doc AUTHORS ChangeLog NEWS README.md
124%attr(755,root,root) %{_libdir}/libsigc-3.0.so.*.*.*
125%attr(755,root,root) %ghost %{_libdir}/libsigc-3.0.so.0
c014a68e 126
127%files devel
5133f76b 128%defattr(644,root,root,755)
ab0420db
JB
129%attr(755,root,root) %{_libdir}/libsigc-3.0.so
130%{_includedir}/sigc++-3.0
131%{_libdir}/sigc++-3.0
132%{_pkgconfigdir}/sigc++-3.0.pc
a4ed2849 133
8dcfc624 134%if %{with static_libs}
5133f76b 135%files static
ae7d4fa5 136%defattr(644,root,root,755)
ab0420db 137%{_libdir}/libsigc-3.0.a
57120020 138%endif
3c2e80c3
JB
139
140%files doc
141%defattr(644,root,root,755)
ab0420db
JB
142%{_datadir}/devhelp/books/libsigc++-3.0
143%{_docdir}/libsigc++-3.0
This page took 0.613294 seconds and 4 git commands to generate.